package com.ruoyi.carrepair.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 配件明细对象 qx_mx_peijian
 * 
 * @author ruoyi
 * @date 2024-11-19
 */
public class QxMxPeijian extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 配件编号 */
    @Excel(name = "配件编号")
    private String pid;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal shuliang;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal danjia;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal jine;

    /** 备注 */
    @Excel(name = "备注")
    private String beizhu;

    /** 创建人id */
    private Long CreateID;

    /** 创建人 */
    private String Creator;

    /** 创建时间 */
    private Date CreateDate;

    /** 修改人id */
    private Long ModifyID;

    /** 修改人 */
    private String Modifier;

    /** 修改时间 */
    private Date ModifyDate;

    /** 外键Id */
    @Excel(name = "外键Id")
    private String nrId;

    /** 乐观锁字段 */
    private Long RowVersion;

    /** 是否是选择数据 */
    @Excel(name = "是否是选择数据")
    private Long notselectdata;

    /** 手输的配件编号 */
    @Excel(name = "手输的配件编号")
    private String mxpjid;

    /** 手输的配件名称 */
    @Excel(name = "手输的配件名称")
    private String mxpname;

    /** 手输的配件车型 */
    @Excel(name = "手输的配件车型")
    private String mxchexing;

    /** 所属程序 */
    private String toApplet;

    private String pjpid;
    private String pname;
    private String chexing;

    public String getPjpid() {
        return pjpid;
    }

    public void setPjpid(String pjpid) {
        this.pjpid = pjpid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getChexing() {
        return chexing;
    }

    public void setChexing(String chexing) {
        this.chexing = chexing;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setPid(String pid) 
    {
        this.pid = pid;
    }

    public String getPid() 
    {
        return pid;
    }
    public void setShuliang(BigDecimal shuliang) 
    {
        this.shuliang = shuliang;
    }

    public BigDecimal getShuliang() 
    {
        return shuliang;
    }
    public void setDanjia(BigDecimal danjia) 
    {
        this.danjia = danjia;
    }

    public BigDecimal getDanjia() 
    {
        return danjia;
    }
    public void setJine(BigDecimal jine) 
    {
        this.jine = jine;
    }

    public BigDecimal getJine() 
    {
        return jine;
    }
    public void setBeizhu(String beizhu) 
    {
        this.beizhu = beizhu;
    }

    public String getBeizhu() 
    {
        return beizhu;
    }
    public void setCreateID(Long CreateID) 
    {
        this.CreateID = CreateID;
    }

    @JsonProperty("CreateID")
    public Long getCreateID() 
    {
        return CreateID;
    }
    public void setCreator(String Creator) 
    {
        this.Creator = Creator;
    }
    @JsonProperty("Creator")
    public String getCreator() 
    {
        return Creator;
    }
    public void setCreateDate(Date CreateDate) 
    {
        this.CreateDate = CreateDate;
    }
    @JsonProperty("CreateDate")
    public Date getCreateDate() 
    {
        return CreateDate;
    }
    public void setModifyID(Long ModifyID) 
    {
        this.ModifyID = ModifyID;
    }
    @JsonProperty("ModifyID")
    public Long getModifyID() 
    {
        return ModifyID;
    }
    public void setModifier(String Modifier) 
    {
        this.Modifier = Modifier;
    }
    @JsonProperty("Modifier")
    public String getModifier() 
    {
        return Modifier;
    }
    public void setModifyDate(Date ModifyDate) 
    {
        this.ModifyDate = ModifyDate;
    }
    @JsonProperty("ModifyDate")
    public Date getModifyDate() 
    {
        return ModifyDate;
    }
    public void setNrId(String nrId) 
    {
        this.nrId = nrId;
    }

    public String getNrId() 
    {
        return nrId;
    }
    public void setRowVersion(Long RowVersion) 
    {
        this.RowVersion = RowVersion;
    }
    @JsonProperty("RowVersion")
    public Long getRowVersion() 
    {
        return RowVersion;
    }
    public void setNotselectdata(Long notselectdata) 
    {
        this.notselectdata = notselectdata;
    }

    public Long getNotselectdata() 
    {
        return notselectdata;
    }
    public void setMxpjid(String mxpjid) 
    {
        this.mxpjid = mxpjid;
    }

    public String getMxpjid() 
    {
        return mxpjid;
    }
    public void setMxpname(String mxpname) 
    {
        this.mxpname = mxpname;
    }

    public String getMxpname() 
    {
        return mxpname;
    }
    public void setMxchexing(String mxchexing) 
    {
        this.mxchexing = mxchexing;
    }

    public String getMxchexing() 
    {
        return mxchexing;
    }
    public void setToApplet(String toApplet) 
    {
        this.toApplet = toApplet;
    }

    public String getToApplet() 
    {
        return toApplet;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pid", getPid())
            .append("shuliang", getShuliang())
            .append("danjia", getDanjia())
            .append("jine", getJine())
            .append("beizhu", getBeizhu())
            .append("CreateID", getCreateID())
            .append("Creator", getCreator())
            .append("CreateDate", getCreateDate())
            .append("ModifyID", getModifyID())
            .append("Modifier", getModifier())
            .append("ModifyDate", getModifyDate())
            .append("nrId", getNrId())
            .append("RowVersion", getRowVersion())
            .append("notselectdata", getNotselectdata())
            .append("mxpjid", getMxpjid())
            .append("mxpname", getMxpname())
            .append("mxchexing", getMxchexing())
            .append("toApplet", getToApplet())
            .toString();
    }
}
